<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" 	prefix="s"%>
<%@ include file="/jsp/common/common_head.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>示界港管理平台</title>
<%@ include file="/jsp/common/common_script.jsp"%>
<style type="text/css">
</style>
<script type="text/javascript">
 var g_userId = '<%=session.getAttribute("userId")%>';
</script>
</head>
<body>
<table class="queryTable" >
	<tr>
		<td class="queryTitle" width="68px">信息ID:</td>
		<td class="queryContent">
			<input class="inputText" type="text" style="width:120px" id="queryId" />
		</td>
		<td class="queryTitle" width="68px">信息内容:</td>
		<td class="queryContent">
			<input class="inputText" type="text" style="width:120px" id="queryValue" />
		</td>
		<td class="queryTitle" width="68px">信息分类:</td>
		<td class="queryContent">
			<select id="queryType" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 160px">
			</select> 
		</td>
		<td class="queryBtnTd"height="20px">
			<a href="javascript:void(0)" class="easyui-linkbutton" iconCls="icon-search"  onclick="doQuery(1)">查询</a>
		</td>
	</tr>
</table>

<table id="ProdVerGrid"></table>

<div id="editValid" class="easyui-window" title="" closed="true" style="width:428px; height:auto;text-align:center; background: #fff;">
	<div border="false" style="padding-left:20px;">
		<form id="formId"  method="POST">
			<s:hidden name="id" id="id"/>
			<table border="0" class="queryTable" width="95%" height="auto" style="margin-bottom:0px;" id="orderTable">
				<tr>	
					<td class="queryTitle" width="80px"><span style="color:red">状态</span></td>
					<td class="queryContent">
						<select id="editState" name="editState" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 120px" >
						</select>
					</td>
				</tr>
			</table>
		</form>
	</div>
	<div style="clear:both;padding-top:10px;margin-bottom:10px;text-align:center;" id="validBtn">
		<a class="easyui-linkbutton" iconCls="icon-ok" href="javascript:void(0)" onclick="doUpValid()">确定</a>
		<a class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:void(0)" onclick="cancelUpValid()">取消</a>
    </div>
</div>

<div id="addDlg" class="easyui-window" title="" closed="true" style="width:500px; height:350px;dispaly:flex;background: #fff;">
	<div border="false" style="padding-left:10px;padding-right:10px;">
		<form id="addForm"  method="POST">
			<table border="0" class="queryTable" width="100%" height="auto" style="margin-bottom:0px;" id="addTable">
				<tr>
					<td class="queryTitle" width="80px"><span style="color:red">信息ID号</span></td>
					<td class="queryContent">
						<input class="easyui-input" style="width: 160px" id="addInfoId"></input>
					</td>
				</tr>
				<tr>
					<td class="queryTitle" width="80px"><span style="color:red">信息分类</span></td>
					<td class="queryContent">
						<select id="addType" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 160px" >
						</select>
					</td>
				</tr>
				<tr>	
					<td class="queryTitle" width="80px">信息内容</td>
					<td class="queryContent" colspan="5">
						<textarea id="addValue" name=""editValue"" rows="10" cols="30" class="inputText easyui-validatebox" style="width:100%;resize:none;" data-options="required:true,validType:['maxLength[200]']"></textarea>
					</td>
				</tr>
			</table>
		</form>
	</div>
	<div style="clear:both;padding-top:10px;margin-bottom:10px;text-align:center;" id="addBtn">
		<a class="easyui-linkbutton" iconCls="icon-ok" href="javascript:void(0)" onclick="doAdd()">保存</a>
		<a class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:void(0)" onclick="cancelAdd()">取消</a>
    </div>
</div>


<div id="editDlg" class="easyui-window" title="" closed="true" style="width:500px; height:350px;dispaly:flex;background: #fff;">
	<div border="false" style="padding-left:10px;padding-right:10px;">
		<form id="editForm"  method="POST">
			<s:hidden name="infoId" id="infoId"/>
			<table border="0" class="queryTable" width="100%" height="auto" style="margin-bottom:0px;" id="editTable">
				<tr>
					<td class="queryTitle" width="80px"><span style="color:red">信息分类</span></td>
					<td class="queryContent">
						<select id="editType" name="editType" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 160px" >
						</select>
					</td>
				</tr>
				<tr>	
					<td class="queryTitle" width="80px">信息内容</td>
					<td class="queryContent" colspan="5">
						<textarea id="editValue" name=""editValue"" rows="10" cols="30" class="inputText easyui-validatebox" style="width:100%;resize:none;" data-options="required:true,validType:['maxLength[200]']"></textarea>
					</td>
				</tr>
			</table>
		</form>
	</div>
	<div style="clear:both;padding-top:10px;margin-bottom:10px;text-align:center;" id="editBtn">
		<a class="easyui-linkbutton" iconCls="icon-ok" href="javascript:void(0)" onclick="doEdit()">保存</a>
		<a class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:void(0)" onclick="cancelEdit()">取消</a>
    </div>
</div>

<script type="text/javascript" src="${ctx}/js/yjx/cdinfoMgr.js"></script>
</body>
</html>
